// 题库路由
import Layout from '@/layout'

export default {
  path: '/questions',
  component: Layout,
  name: 'questionBank',
  meta: {
    title: '题库管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '/questions/list',
      name: 'basicQuestion',
      component: () => import('@/views/questions/list'),
      meta: {
        title: '基础题库',
        icon: 'tree-table'
      }
    }, {
      path: '/questions/choice',
      name: 'basic-form',
      component: () => import('@/views/questions/choice'),
      meta: {
        title: '精选题库',
        icon: 'tree-table'
      }
    }, {
      path: '/questions/new',
      name: 'step-form',
      component: () => import('@/views/questions/new'),
      meta: {
        title: '试题录入',
        icon: 'tree-table'
      }
    }, {
      path: '/questions/randoms',
      name: 'senior-form',
      component: () => import('@/views/questions/randoms'),
      meta: {
        title: '组题列表',
        icon: 'tree-table'
      }
    }
  ]
}
